package com.aitoedu.server.service;

import com.aitoedu.server.dto.LoginEmailDTO;
import com.aitoedu.server.dto.RegisterDTO;
import com.aitoedu.server.entity.User;
import com.aitoedu.server.vo.LoginVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 曹正豪
* @description 针对表【user(用户名和密码信息)】的数据库操作Service
* @createDate 2024-08-09 00:46:59
*/
public interface UserService extends IService<User> {
    LoginVO loginEmail(LoginEmailDTO loginEmailDTO);

    void certify(String email);

    void register(RegisterDTO registerDTO);

    int getRole();
}
